import java.util.Scanner;

/**
 * launches OS Sim project.
 * @author Patrick Black
 *
 */
public class Launcher {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		System.out.println("Please choose algorithm for scheduler to use.");
		System.out.print("0 for round robin, 1 for prority, 2 for lottery: ");
		int choice = scanner.nextInt();
		CPU cpu = new CPU(choice);
		
		int i = 0;
		while(i == 0) {
			cpu.runProcess();
		}
		
		
	}
}
